package cn.wolfcode.crm.query;

import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

//销售报表高级查询变量
@Setter @Getter
public class SaleChartQuery extends QueryObject{
    private String groupType = "inputUser.username"; //初始化

    private Long organizationId; //机构

    private Long productId; //保险产品

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

}
